import { createApp } from 'vue'
import App from './App.vue'
import { NavBar, Search , Swipe, SwipeItem, Grid, GridItem, Card, Button, AddressEdit } from 'vant';
import HelloWorld from '@/components/HelloWorld/indexView.vue';

// 2. 引入组件样式
import 'vant/lib/index.css';
const app = createApp(App)

app.component('HelloWorld', HelloWorld)

app.use(NavBar)
app.use(Search)
app.use(Swipe);
app.use(SwipeItem);
app.use(Grid);
app.use(GridItem);
app.use(Card);
app.use(Button);
app.use(AddressEdit);
app.mount('#app')
